home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 76 / XENIATGM66.iso / Indiana Jones / Indiana Jones.exe / RESOURCE / PREVIEW.GOB / cog_pru_test3.cog < prev    next >
Text File  |  1999-11-15  |  641b  |  42 lines

  1. # Jones 3D Cog Script
  2. #
  3. # PRU_test3.cog    
  4. #
  5. # [GGJ]
  6. #
  7. # (C) 1999 LucasArts Entertainment Company LLC. All Rights Reserved
  8. #
  9. # ========================================================================================
  10. symbols
  11.  
  12. message        damaged
  13. message        startup
  14.  
  15. thing        rock            mask=0x08
  16. int            fovInt=120        local
  17.  
  18. end
  19.  
  20. # ========================================================================================
  21. code
  22. startup:
  23. Sleep(1.0);
  24. ResetCameraFOV(0, 0.0);
  25. damaged:
  26. Print("damaged");
  27.  
  28. if (fovInt > 20)
  29. {
  30.     fovInt = fovInt - 10;
  31.     SetCameraFOV(fovInt, 0, 0.0);
  32. }
  33. else
  34. {
  35. fovInt = 120;
  36. }
  37.  
  38. return;
  39.  
  40. end
  41.  
  42.